import { useNavigate } from "react-router-dom";
import "@/css/FloatingBall.less";

const FloatingBall = () => {
  const navigate = useNavigate();
  return (
    <>
      <a
        className="floating-shop"
        href="https://shop1655815350.v.weidian.com/?userid=1655815350&distributorid=1866412472&share_relation=c21c053587e71501_1866412472_1&wfr=h5direct_wxh5"
      >
        商城
      </a>
      <div
        className="floating-ball"
        onClick={() => {
          navigate("/app/layout/sign_up");
        }}
      >
        报名
      </div>
    </>
  );
};

export default FloatingBall;
